package com.bwie.es.feign;

import com.bwie.common.domain.Article;
import com.bwie.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("bwie-lists")
public interface ArticleRemoteService {
    @GetMapping("/article/findArticleList")
    public Result<List<Article>> findArticleList();

}
